package com.ojoin.trade.t0loan_core.web.dao;

import java.util.List;

import org.springframework.data.domain.Pageable;

import com.ojoin.trade.common.exception.BusinessException;
import com.ojoin.trade.common.web.dao.BaseDao;
import com.ojoin.trade.t0loan_core.web.domain.TbFtpFile;

public interface TbFtpFileDao extends BaseDao<TbFtpFile> {
	
	public int updateByVO(TbFtpFile vo) throws BusinessException;
	
	public int updateDealFlagByID(int id, int dealflag, String dealtime) throws BusinessException;

	public TbFtpFile selectDealedFtpFileByName(String filename) throws BusinessException;
	
	public TbFtpFile selectFtpFileByJoinuseridAndTransdate(int joinuserid, String transdate) throws BusinessException;
	
	public List<TbFtpFile> selectFtpFileListByCondition(String filetype, Integer downloadflag, Integer dealflag, Integer joinuserid, String startdate, String enddate, Pageable page) throws BusinessException;
	
}
